{extend name="base" /}
{block name="body"}
<div class="layui-body">
  <!--tab标签-->
  <div class="layui-tab layui-tab-brief">
    <ul class="layui-tab-title">
      <li class=""><a href="{:url('admin/admin/index')}">老师</a></li>
      <li class="layui-this">添加老师</li>
    </ul>
    <div class="layui-tab-content">
      <div class="layui-tab-item layui-show">
        <form class="layui-form form-container" action="{:url('admin/admin/save')}" method="post">
          <div class="layui-form-item">
            <label class="layui-form-label">用户名<span style="color: red">*</span></label>

            <div class="layui-input-block">
              <input type="text" name="userLoginName" value="" required lay-verify="required" placeholder="请输入用户名"
                     class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">密码<span style="color: red">*</span></label>

            <div class="layui-input-block">
              <input type="password" name="userPassword" value="" required lay-verify="required" placeholder="请输入密码"
                     class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">重复密码<span style="color: red">*</span></label>

            <div class="layui-input-block">
              <input type="password" name="confirm_password" value="" required lay-verify="required"
                     placeholder="请再次输入密码" class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">昵称<span style="color: red">*</span></label>

            <div class="layui-input-block">
              <input type="text" name="name" value="" required lay-verify="required" placeholder="请输入用户名"
                     class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">地址</label>

            <div class="layui-input-block">
              <input type="text" name="address" value="" placeholder="请输入地址"
                     class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">公司名称</label>

            <div class="layui-input-block">
              <input type="text" name="company" value="" placeholder="请输入公司名"
                     class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">国家</label>

            <div class="layui-input-block">
              <input type="text" name="country" value="" placeholder="请输入国家名"
                     class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">描述</label>

            <div class="layui-input-block">
              <input type="text" name="description" value="" placeholder="描述"
                     class="layui-input">
            </div>
          </div>


          <div class="layui-form-item">
            <label class="layui-form-label">性别<span style="color: red">*</span></label>

            <div class="layui-input-block">
              <select name="male" lay-verify="required">
                <option value="true">男</option>
                <option value="false" selected>女</option>
              </select>
            </div>
          </div>


          <div class="layui-form-item">
            <label class="layui-form-label">电话号码</label>

            <div class="layui-input-block">
              <input type="text" name="mobile" value="" placeholder="请输入号码"
                     class="layui-input">
            </div>
          </div>


          <div class="layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn" lay-submit lay-filter="*">保存</button>
              <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
{/block}